package com.oop.demo08;

public class Student extends Person {
    @Override //方法重写
    public void run() {
        System.out.println("son");
    }

    public void eat() {
        System.out.println("eat");
    }
}
